<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</meta>
<title>F().append演示</title>
<style type="text/css">
#box{width:300px; height:100px; background-color:red;}
#box .inbox{background-color:blue; margin-top:10px;}
</style>
<script type="text/javascript" src="../../1st.js"></script>
</head>
<body>
<div id="box"></div>

<script type="text/javascript">
F("box").append("div").html("I am a box child2");
F("box").append("div.inbox",0).html("I am a box child1");//让新添加的节点成为第1个节点
</script>
</body>
</html>